{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "97df35a2",
   "metadata": {},
   "source": [
    "---------\n",
    "* 日期：2022-8-31 | week02 \n",
    "* 课程：Python\n",
    "* 记录人：杨静雯~\n",
    "---------\n",
    "\n",
    "# 本周的学习内容\n",
    "\n",
    "## 1.准备工作\n",
    "\n",
    ">1. 安装配置python环境（anaconda，清华大学镜像）\n",
    ">>1. 什么是绝对路径和相对路径？\n",
    ">>2. 配置环境，相对路径还有5个需要配置的，绝对路径根据自己的电脑进行配置\n",
    "\n",
    ">2. 回顾：Github Desktop 如何实现本地与云端的连接\n",
    ">>1. 克隆Github的仓库URL，到本地指定文件路径，例如 D：2022-2023-01/Python\n",
    ">>2. 上传本地笔记到gitee仓库\n",
    "\n",
    ">3. 本周重点知识\n",
    ">>1. 什么是IDE？（即集成开发环境）\n",
    ">>2. 如何打开 Jupyter Notebook？（[jupyter.org](https://jupyter.org))\n",
    ">>>1. cmd\n",
    ">>>2. cd 指定目录下\n",
    ">>>3. 输入：jupyter notebook\n",
    "\n",
    ">4. 注：前九周全部使用jupyter notebook（IDE)来做课堂和课后练习\n",
    "\n",
    "## 2.模块（工具箱-不需要知道怎么做的，只需要会弄就可以了）\n",
    "> 1. 标准库（python团队自己开发出来的，想看有人如果用我的编程语言的话，常用的一些功能我已经准备好了）\n",
    ">>1. 使用标准库的方法，import+模块名称\n",
    ">>2. [标准库的库]（https://docs.python.org/3/library/inder.html)\n",
    ">2. 开源模块（anaconda）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "39aaaf0d",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "hello world\n"
     ]
    }
   ],
   "source": [
    "print(\"hello world\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "88fb50b2",
   "metadata": {},
   "outputs": [],
   "source": [
    "import time"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "e241fd34",
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "time.struct_time(tm_year=2022, tm_mon=8, tm_mday=31, tm_hour=20, tm_min=8, tm_sec=20, tm_wday=2, tm_yday=243, tm_isdst=0)"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "time.localtime()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "a5ad42ec",
   "metadata": {},
   "outputs": [
    {
     "ename": "ModuleNotFoundError",
     "evalue": "No module named 'apple'",
     "output_type": "error",
     "traceback": [
      "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
      "\u001b[1;31mModuleNotFoundError\u001b[0m                       Traceback (most recent call last)",
      "Input \u001b[1;32mIn [4]\u001b[0m, in \u001b[0;36m<cell line: 1>\u001b[1;34m()\u001b[0m\n\u001b[1;32m----> 1\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mapple\u001b[39;00m\n",
      "\u001b[1;31mModuleNotFoundError\u001b[0m: No module named 'apple'"
     ]
    }
   ],
   "source": [
    "import apple"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "id": "65c1e15d",
   "metadata": {},
   "outputs": [
    {
     "ename": "SyntaxError",
     "evalue": "can't use starred expression here (238917924.py, line 1)",
     "output_type": "error",
     "traceback": [
      "\u001b[1;36m  Input \u001b[1;32mIn [7]\u001b[1;36m\u001b[0m\n\u001b[1;33m    * 课本第四页第一个项目可以试一下\u001b[0m\n\u001b[1;37m    ^\u001b[0m\n\u001b[1;31mSyntaxError\u001b[0m\u001b[1;31m:\u001b[0m can't use starred expression here\n"
     ]
    }
   ],
   "source": [
    "* 课本第四页第一个项目可以试一下"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "id": "c71ed52f",
   "metadata": {},
   "outputs": [],
   "source": [
    "## 第一章共3个项目（课堂上讲）\n",
    "## 项目课后写"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.12"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
